<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <th:block th:include="include :: header('compare列表')"/>
    <style>
        td, th {
            white-space: nowrap;
        }
    </style>
</head>
<body class="gray-bg">
<div class="container-div">
    <input type="hidden" style="width: 0; height: 0" id="compareId" th:value="${compareId}">
    <div class="row">
        <div class="col-sm-12 select-table table-striped">
            <table id="bootstrap-table"></table>
        </div>
    </div>
</div>
<th:block th:include="include :: footer"/>
<script th:inline="javascript">
    var editFlag = [[${@permission.hasPermi('bus:compare:edit')}]];
    var removeFlag = [[${@permission.hasPermi('bus:compare:remove')}]];
    var prefix = ctx + "bus/compare";

    $(function () {
        var options = {
            url: prefix + "/compareData?id=" + $("#compareId").val(),
            modalName: "比对规则数据",
            search: false,
            showRefresh: false,
            showColumns: false,
            showToggle: false,
            showSearch: false,
            pagination: false,
            columns: [
                {
                    field : 'id',
                    title : '主键',
                    visible: false
                },
                {
                    field : 'sbh',
                    title : '识别号'
                },
                {
                    field : 'nsrmc',
                    title : '纳税人名称'
                },
                {
                    field : 'nsrzt',
                    title : '纳税人状态'
                },
                {
                    field : 'kzztdjlx',
                    title : '课征主体等级类型'
                },
                {
                    field : 'djzclx',
                    title : '登记注册类型'
                },
                {
                    field : 'zzjgdm',
                    title : '组织机构代码'
                },
                {
                    field : 'djrq',
                    title : '登记日期'
                },
                {
                    field : 'hy',
                    title : '行业'
                },
                {
                    field : 'ssjdbsc',
                    title : '所属街道办事处'
                },
                {
                    field : 'zgsws',
                    title : '主管税务所'
                },
                {
                    field : 'ssgly',
                    title : '税收管理员'
                },
                {
                    field : 'zcdz',
                    title : '注册地址'
                },
                {
                    field : 'scjydz',
                    title : '生产经营地址'
                },
                {
                    field : 'frmc',
                    title : '法人名称'
                },
                {
                    field : 'frdh',
                    title : '法人电话'
                },
                {
                    field : 'frgddh',
                    title : '法人固定电话'
                },
                {
                    field : 'frsfzh',
                    title : '法人身份证号'
                },
                {
                    field : 'cwfzrxm',
                    title : '财务负责人姓名'
                },
                {
                    field : 'cwfzrdh',
                    title : '财务负责人电话'
                },
                {
                    field : 'bsrxm',
                    title : '办税人姓名'
                },
                {
                    field : 'bsrdh',
                    title : '办税人电话'
                },
                {
                    field : 'bsrsfzh',
                    title : '办税人身份证号'
                },
                {
                    field : 'bsrgddh',
                    title : '办税人固定电话'
                },
                {
                    field : 'cwfzrsfzh',
                    title : '财务负责人身份证号'
                },
                {
                    field : 'cwfzrgddh',
                    title : '财务负责人固定电话'
                },
                {
                    field : 'gdghlx',
                    title : '国地管户类型'
                },
                {
                    field : 'dwlsgx',
                    title : '单位隶属关系'
                },
                {
                    field : 'zgswjg',
                    title : '主管税务机关'
                },
                {
                    field : 'ssdabh',
                    title : '税收档案编号'
                },
                {
                    field : 'shxydm',
                    title : '社会信用代码'
                },
                {
                    field : 'yxbz',
                    title : '有效标志'
                },
                {
                    field : 'kqcwsztdjbz',
                    title : '跨区财务税主体登记标志'
                },
                {
                    field : 'djhlb',
                    title : '登记户类别'
                }]
        };
        $.table.init(options);
    });
</script>
</body>
</html>